/*
 * NodoContexto.h
 *
 *  Created on: 29/04/2012
 *      Author: lucas
 */

#ifndef NODOCONTEXTO_H_
#define NODOCONTEXTO_H_

#include "../hdr/ContextoPPMC.h"
#include "../hdr/Vector.h"

class NodoContexto
{
public:
	NodoContexto* getNodoContextoSuperior(unsigned char caracter);
    NodoContexto();
    NodoContexto(unsigned char* contextoCompleto); // debug
    virtual ~NodoContexto();

    ContextoPPMC* getContexto()
    {
        return &contexto;
    }

private:
    unsigned char contextoCompleto[16]; // Variable de debug
    ContextoPPMC contexto;
    Vector<char> contextosOrdenSuperior;
    Vector<NodoContexto*> nodosOrdenSuperior;
};

#endif /* NODOCONTEXTO_H_ */
